package com.chuangjiangx.member.stored.ddd.dal.mapper;

import com.chuangjiangx.member.stored.ddd.dal.dto.OrderPay;



/**
 * @author cj-ch
 * @date 2018/6/5 下午3:31
 */
public interface MbrOrderPayDalMapper {

    OrderPay selectByOrderId(Long orderId);

    OrderPay selectByOrderNumber(String orderNumber);

    /**
     * (微信)根据orderId查询支付用户的openid
     * @param orderId
     * @return
     */
    String selectWxOpenidWithOrderId(Long orderId);

    /**
     * 根据orderId查询第三方订单编号
     */
    String selectOutTradeNoWithOrderId(Long orderId);
}
